import bus from "@/bus";
let data = {
  status: 'pass',
  columns: [{
    title: '商品',
    key: 'tiresName',
    align: 'left',
    minWidth: 300
  }, {
    title: '产品类别',
    key: 'categoryName',
    align: 'left',
    minWidth: 200
  }, {
    title: '类型',
    key: 'typeMeaning',
    align: 'left',
    minWidth: 150
  }, {
    title: '数量',
    key: 'quantity',
    align: 'right',
    minWidth: 200
  }, {
    title: '预计积分',
    key: 'integral',
    align: 'right',
    minWidth: 200,
    render: (h, params) => {
      return h('div', {
        style: {
          cursor: 'pointer'
        },
        attrs: {
          title: params.row.integralQuantityTypeMeaning
        }
      }, params.row.integral)
    }
  }, {
    title: '预计返利',
    key: 'rebate',
    align: 'right',
    minWidth: 200,
    render: (h, params) => {
      return h('div', {
        style: {
          cursor: 'pointer'
        },
        attrs: {
          title: params.row.rebateQuantityTypeMeaning
        }
      }, params.row.rebate)
    }
  }, {
    title: '任务完成量',
    key: 'taskQuantity',
    align: 'right',
    minWidth: 200,
    render: (h, params) => {
      return h('div', {
        style: {
          cursor: 'pointer'
        },
        attrs: {
          title: params.row.taskQuantityTypeMeaning
        }
      }, params.row.taskQuantity)
    }
  }, {
    title: '有效积分',
    key: 'effectiveIntegral',
    align: 'right',
    minWidth: 200
  }, {
    title: '有效返利',
    key: 'effectiveRebate',
    align: 'right',
    minWidth: 200
  }, {
    title: '积分补差',
    key: 'rewardIntegral',
    align: 'right',
    minWidth: 200
  }, {
    title: '返利补差',
    key: 'rewardRebate',
    align: 'right',
    minWidth: 200
  }, {
    title: '获取时间',
    key: 'createDate',
    align: 'left',
    minWidth: 200
  }, {
    title: '入库单号',
    key: 'sourceOrderSn',
    align: 'left',
    minWidth: 230
  }, {
    title: '条码',
    key: 'barcodes',
    align: 'left',
    minWidth: 200
  }, {
    title: '备注',
    key: 'remark',
    align: 'left',
    minWidth: 200
  }],
  data: [],
  columns2: [{
    title: '商品',
    key: 'tiresName',
    minWidth: 240
  }, {
    title: '产品类别',
    key: 'categoryName',
    minWidth: 150
  }, {
    title: '合计',
    key: 'hj',
    align: 'left',
    minWidth: 150
  }, {
    title: '数量',
    key: 'totalQuantity',
    align: 'left',
    render: (h, params) => {
      return h('div', {
        class: 'font-red'
      }, params.row.totalQuantity)
    },
    minWidth: 150
  }, {
    title: '积分',
    key: 'totalIntegral',
    align: 'left',
    render: (h, params) => {
      return h('div', {
        class: 'font-red'
      }, params.row.totalIntegral)
    },
    minWidth: 150
  }, {
    title: '返利',
    key: 'totalRebate',
    align: 'left',
    render: (h, params) => {
      return h('div', {
        class: 'font-red'
      }, params.row.totalRebate)
    },
    minWidth: 150
  }, {
    title: '有效积分',
    key: 'totalEffectiveIntegral',
    align: 'left',
    render: (h, params) => {
      return h('div', {
        class: 'font-red'
      }, params.row.totalEffectiveIntegral)
    },
    minWidth: 150
  }, {
    title: '有效返利',
    key: 'totalEffectiveRebate',
    align: 'left',
    render: (h, params) => {
      return h('div', {
        class: 'font-red'
      }, params.row.totalEffectiveRebate)
    },
    minWidth: 150
  }, {
    title: '任务数量',
    key: 'totalEffectiveTaskQuantity',
    align: 'left',
    render: (h, params) => {
      return h('div', {
        class: 'font-red'
      }, params.row.totalEffectiveTaskQuantity)
    },
    minWidth: 150
  }],
  data2: []
}
export default data;
